<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<div>username : <sec:authentication property="name"/></div>
<hr>
<sec:authorize url="/admin.jsp">
<!-- if current user is admin,this tag will show. -->
<a href="${pageContext.request.contextPath }/admin.jsp">admin.jsp</a>
</sec:authorize>

<a href="${pageContext.request.contextPath }/account/changePassword.do">change password</a>
<a href="logout">logout</a>
